package test00.lx06;

import test00.lx04.t01.Student;

import java.util.Optional;

/**
 * @author ZQX
 * @date 2025-04-07
 */
public class MainTest02 {
    public static void main(String[] args) {
        Student stu = new Student("Zing", 18);

        if(stu.getName()!=null) {
            String username = stu.getName().toLowerCase();
            System.out.println(username);
        } else {
            System.out.println("匿名");
        }

    }
}
